<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: exports.c 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00944_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">exports.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="a00944.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="a03635.html">precomp.h</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#pragma hdrstop</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;HWINSTA <a class="code" href="a00944.html#a3674248bc04bf4361a1857004c1e2b4a">GetConsoleWindowStation</a>(VOID);</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="a00944.html#ae7b2c0208e2d4ab554bfaeef7074b467">   27</a></span>&#160;NTSTATUS <a class="code" href="a00944.html#ae7b2c0208e2d4ab554bfaeef7074b467">AttachToWindowStation</a>(</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    PCSR_THREAD pcsrt,</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    PHANDLE aHandle)</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    HANDLE ProcessHandle = pcsrt-&gt;Process-&gt;ProcessHandle;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    PROCESS_BASIC_INFORMATION ProcessBasicInfo;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    PRTL_USER_PROCESS_PARAMETERS pProcessParams;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    UNICODE_STRING DesktopInfo;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    LPWSTR awchName;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    NTSTATUS Status;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">     * Get the desktop name from the client process.</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    Status = NtQueryInformationProcess(ProcessHandle, ProcessBasicInformation,</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;            &amp;ProcessBasicInfo, <span class="keyword">sizeof</span>(ProcessBasicInfo), NULL);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status))</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    Status = NtReadVirtualMemory(ProcessHandle,</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;            (PBYTE)ProcessBasicInfo.PebBaseAddress + FIELD_OFFSET(PEB, ProcessParameters),</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;            &amp;pProcessParams, <span class="keyword">sizeof</span>(PVOID), NULL);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status))</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    Status = NtReadVirtualMemory(ProcessHandle,</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;            (PBYTE)pProcessParams + FIELD_OFFSET(RTL_USER_PROCESS_PARAMETERS, DesktopInfo),</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;            &amp;DesktopInfo, <span class="keyword">sizeof</span>(UNICODE_STRING), NULL);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status))</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    awchName = LocalAlloc(LPTR, DesktopInfo.Length);</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keywordflow">if</span> (awchName == NULL)</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <span class="keywordflow">return</span> STATUS_NO_MEMORY;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    Status = NtReadVirtualMemory(ProcessHandle,</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;            DesktopInfo.Buffer, awchName, DesktopInfo.Length, NULL);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status))</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    DesktopInfo.Buffer = awchName;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">     * Resolve the windowstation and desktop</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    aHandle[ID_HDESK] = <a class="code" href="a00362.html#ab24e2a1fb42e114108c08dd03c3b0a2b">NtUserResolveDesktop</a>(ProcessHandle, &amp;DesktopInfo,</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;            FALSE, (HWINSTA *)&amp;aHandle[ID_HWINSTA]);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordflow">if</span> (aHandle[ID_HDESK] == NULL)</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <span class="keywordflow">return</span> STATUS_UNSUCCESSFUL;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordflow">return</span> STATUS_SUCCESS;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;}</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;BOOL</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="a00944.html#a3f46bfbf1558bbbff688ce68d7537437">   84</a></span>&#160;<a class="code" href="a00944.html#a3f46bfbf1558bbbff688ce68d7537437">_UserSoundSentry</a>(</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> uVideoMode)</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;{</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <span class="keywordflow">return</span> NT_SUCCESS(<a class="code" href="a00362.html#a8ef1af1f9014ff05770e252e2d0cd879">NtUserSoundSentry</a>(uVideoMode));</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;}</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;NTSTATUS</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="a00944.html#ad4036be8180ed1474e6900bde9868b25">  103</a></span>&#160;<a class="code" href="a00944.html#ad4036be8180ed1474e6900bde9868b25">_UserTestTokenForInteractive</a>(</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    HANDLE Token,</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    PLUID pluidCaller</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    )</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;{</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    PTOKEN_STATISTICS pStats;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    ULONG BytesRequired;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    NTSTATUS Status;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="comment">     * Get the session id of the caller.</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    Status = NtQueryInformationToken(</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;                 Token,                     <span class="comment">// Handle</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;                 TokenStatistics,           <span class="comment">// TokenInformationClass</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;                 NULL,                      <span class="comment">// TokenInformation</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;                 0,                         <span class="comment">// TokenInformationLength</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;                 &amp;BytesRequired             <span class="comment">// ReturnLength</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;                 );</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="keywordflow">if</span> (Status != STATUS_BUFFER_TOO_SMALL) {</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        }</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="comment">// Allocate space for the user info</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    pStats = (PTOKEN_STATISTICS)LocalAlloc(LPTR, BytesRequired);</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <span class="keywordflow">if</span> (pStats == NULL) {</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        }</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; </div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="comment">// Read in the user info</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    Status = NtQueryInformationToken(</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;                 Token,             <span class="comment">// Handle</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;                 TokenStatistics,       <span class="comment">// TokenInformationClass</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;                 pStats,                <span class="comment">// TokenInformation</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;                 BytesRequired,         <span class="comment">// TokenInformationLength</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;                 &amp;BytesRequired         <span class="comment">// ReturnLength</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                 );</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160; </div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keywordflow">if</span> (NT_SUCCESS(Status)) {</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        <span class="keywordflow">if</span> (pluidCaller != NULL)</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;             *pluidCaller = pStats-&gt;AuthenticationId;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="comment">         * A valid session id has been returned.  Compare it</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="comment">         * with the id of the logged on user.</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        Status = <a class="code" href="a00362.html#a71641a86b10f9691db684ff2faffecd4">NtUserTestForInteractiveUser</a>(&amp;pStats-&gt;AuthenticationId);</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="preprocessor">#ifdef LATER</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        <span class="keywordflow">if</span> (pStats-&gt;AuthenticationId.QuadPart == pwinsta-&gt;luidUser.QuadPart)</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            Status = STATUS_SUCCESS;</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;            Status = STATUS_ACCESS_DENIED;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    }</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    LocalFree(pStats);</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160; </div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;}</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160; </div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="a00944.html#a1ec030500a19f775519fbaf16c15f814">  170</a></span>&#160;BOOL <a class="code" href="a00944.html#a1ec030500a19f775519fbaf16c15f814">_ReleaseDC</a>(</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    HDC hdc)</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;{</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="a00026.html#ae35231899b6d8b4a5e8d23b23b458104">ReleaseDC</a>(NULL, hdc);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;}</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="a00944.html#ab415f4551e56343126af9cdc81e9322d">  176</a></span>&#160;HPALETTE <a class="code" href="a00944.html#ab415f4551e56343126af9cdc81e9322d">LockCSSelectPalette</a>(</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    HDC hdc,</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    HPALETTE hpalette,</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    BOOL fForceBackground)</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;{</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="a03614.html#a81a825676e54fc803eaea8b56435848f">NtUserSelectPalette</a>(hdc, hpalette, fForceBackground);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa00026_html_ae35231899b6d8b4a5e8d23b23b458104"><div class="ttname"><a href="a00026.html#ae35231899b6d8b4a5e8d23b23b458104">ReleaseDC</a></div><div class="ttdeci">BOOL WINAPI ReleaseDC(HWND hwnd, HDC hdc)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00885">client.c:885</a></div></div>
<div class="ttc" id="aa00944_html_ab415f4551e56343126af9cdc81e9322d"><div class="ttname"><a href="a00944.html#ab415f4551e56343126af9cdc81e9322d">LockCSSelectPalette</a></div><div class="ttdeci">HPALETTE LockCSSelectPalette(HDC hdc, HPALETTE hpalette, BOOL fForceBackground)</div><div class="ttdef"><b>Definition:</b> <a href="a00944_source.html#l00176">exports.c:176</a></div></div>
<div class="ttc" id="aa00362_html_a8ef1af1f9014ff05770e252e2d0cd879"><div class="ttname"><a href="a00362.html#a8ef1af1f9014ff05770e252e2d0cd879">NtUserSoundSentry</a></div><div class="ttdeci">NTSTATUS NtUserSoundSentry(IN UINT uVideoMode)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l06096">kernel/ntstubs.c:6096</a></div></div>
<div class="ttc" id="aa03614_html_a81a825676e54fc803eaea8b56435848f"><div class="ttname"><a href="a03614.html#a81a825676e54fc803eaea8b56435848f">NtUserSelectPalette</a></div><div class="ttdeci">HPALETTE NtUserSelectPalette(IN HDC hdc, IN HPALETTE hpalette, IN BOOL fForceBackground)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l07955">kernel/ntstubs.c:7955</a></div></div>
<div class="ttc" id="aa00362_html_a71641a86b10f9691db684ff2faffecd4"><div class="ttname"><a href="a00362.html#a71641a86b10f9691db684ff2faffecd4">NtUserTestForInteractiveUser</a></div><div class="ttdeci">NTSTATUS NtUserTestForInteractiveUser(IN PLUID pluidCaller)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l06108">kernel/ntstubs.c:6108</a></div></div>
<div class="ttc" id="aa00944_html_a3674248bc04bf4361a1857004c1e2b4a"><div class="ttname"><a href="a00944.html#a3674248bc04bf4361a1857004c1e2b4a">GetConsoleWindowStation</a></div><div class="ttdeci">HWINSTA GetConsoleWindowStation(VOID)</div></div>
<div class="ttc" id="aa00944_html_a1ec030500a19f775519fbaf16c15f814"><div class="ttname"><a href="a00944.html#a1ec030500a19f775519fbaf16c15f814">_ReleaseDC</a></div><div class="ttdeci">BOOL _ReleaseDC(HDC hdc)</div><div class="ttdef"><b>Definition:</b> <a href="a00944_source.html#l00170">exports.c:170</a></div></div>
<div class="ttc" id="aa00944_html_a3f46bfbf1558bbbff688ce68d7537437"><div class="ttname"><a href="a00944.html#a3f46bfbf1558bbbff688ce68d7537437">_UserSoundSentry</a></div><div class="ttdeci">BOOL _UserSoundSentry(UINT uVideoMode)</div><div class="ttdef"><b>Definition:</b> <a href="a00944_source.html#l00084">exports.c:84</a></div></div>
<div class="ttc" id="aa00362_html_ab24e2a1fb42e114108c08dd03c3b0a2b"><div class="ttname"><a href="a00362.html#ab24e2a1fb42e114108c08dd03c3b0a2b">NtUserResolveDesktop</a></div><div class="ttdeci">HDESK NtUserResolveDesktop(IN HANDLE hProcess, IN PUNICODE_STRING pstrDesktop, IN BOOL fInherit, OUT HWINSTA *phwinsta)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l00940">kernel/ntstubs.c:940</a></div></div>
<div class="ttc" id="aa03635_html"><div class="ttname"><a href="a03635.html">precomp.h</a></div></div>
<div class="ttc" id="aa03608_html_afd1a0e78d1f88954d93e48ab3821781f"><div class="ttname"><a href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a></div><div class="ttdeci">typedef UINT(FAR WINAPI *MSGSOUNDPROC)()</div></div>
<div class="ttc" id="aa00944_html_ad4036be8180ed1474e6900bde9868b25"><div class="ttname"><a href="a00944.html#ad4036be8180ed1474e6900bde9868b25">_UserTestTokenForInteractive</a></div><div class="ttdeci">NTSTATUS _UserTestTokenForInteractive(HANDLE Token, PLUID pluidCaller)</div><div class="ttdef"><b>Definition:</b> <a href="a00944_source.html#l00103">exports.c:103</a></div></div>
<div class="ttc" id="aa00944_html_ae7b2c0208e2d4ab554bfaeef7074b467"><div class="ttname"><a href="a00944.html#ae7b2c0208e2d4ab554bfaeef7074b467">AttachToWindowStation</a></div><div class="ttdeci">NTSTATUS AttachToWindowStation(PCSR_THREAD pcsrt, PHANDLE aHandle)</div><div class="ttdef"><b>Definition:</b> <a href="a00944_source.html#l00027">exports.c:27</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_379c4bfb2ec80b568b03bb27ff3e2f7e.html">server</a></li><li class="navelem"><a class="el" href="a00944.html">exports.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
